package com.useeinfo.oa.modules.inspection.entity;

import com.useeinfo.framework.extend.entity.SuperClassEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Auther: 陈炜
 * @Date: 2019/1/11 15:31
 * @Description: 巡检跳报修
 */
@Entity
@Table(name = "inspection_to_repair")
public class InspectionToRepair extends SuperClassEntity<InspectionToRepair> {
    /**
     * 巡检单号
     */
    private String inspectionCode;

    /**
     * 维修单号
     */
    private String repairCode;

    /**
     * 巡检内容id
     */
    private Long contentId;

    /**
     * 是否巡检报修
     */
    @Column(columnDefinition = "bit default 0")
    private boolean inspectionOrder;

    public String getInspectionCode() {
        return inspectionCode;
    }

    public void setInspectionCode(String inspectionCode) {
        this.inspectionCode = inspectionCode;
    }

    public String getRepairCode() {
        return repairCode;
    }

    public void setRepairCode(String repairCode) {
        this.repairCode = repairCode;
    }

    public Long getContentId() {
        return contentId;
    }

    public void setContentId(Long contentId) {
        this.contentId = contentId;
    }

    public boolean isInspectionOrder() {
        return inspectionOrder;
    }

    public void setInspectionOrder(boolean inspectionOrder) {
        this.inspectionOrder = inspectionOrder;
    }
}
